import Vue from 'vue'
import App from './App.vue'
import router from "@/router"

import "@/assets/css/base.css"

import { Swipe, SwipeItem } from "vant"
import "vant/lib/index.css"
import { Lazyload } from "vant"

Vue.use(Swipe);
Vue.use(SwipeItem);

Vue.use(Lazyload, {
  //原图片未加载时展示占位图片
  loading: require("@/assets/img/common/placeholder.png"),
})

//全局挂载bus总线实例
Vue.prototype.$bus = new Vue();

Vue.config.productionTip = false

new Vue({
  router,
  render: function (h) { return h(App) },
}).$mount('#app')
